package com.company;

import java.io.*;
import java.util.Scanner;

public class Main {
        public static void main(String[] args) {
            System.out.println(test(true));
        }

        static int test(boolean flag) {
            try {
                if(flag) {
                    return 1;
                }
            } finally {
                System.out.println("finally...");
            }
            return 0;
        }
    }